package com.itheima;

import com.itheima.domain.Account;
import com.itheima.service.AccountService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Hello world!
 */
public class App3 {
    public static void main(String[] args) {

        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("beans3.xml");


        Account bean = context.getBean(Account.class);

        System.out.println(bean);
    }
}
